/*
 * @Author: your name
 * @Date: 2022-01-04 22:40:28
 * @LastEditTime: 2022-01-21 14:58:00
 * @LastEditors: Please set LastEditors
 * @Description: 环境变量
 * @FilePath: /node-template/src/config/env.ts
 */

const nodeEnv = process.env.NODE_ENV;

export const env = {
  isDev: nodeEnv === 'development',
  isSit: nodeEnv === 'sit',
  isProd: nodeEnv === 'production',
  isNotDev: nodeEnv !== 'development',
};
